<template>
    <div>
        <p>我是home2</p>
        <button @click = "jump">我要回home</button>
    </div>
</template>
<script>
export default {
    mounted(){
        console.log("home2")
    },
    methods:{
        jump(){
            this.$router.push("/home")
        }
    }
}
</script>
